<template>
  <hcTab v-model="activeTab" :head="head" :keep-alive="true" borderBottom=""></hcTab>
</template>
<script setup>
import mes from "./mes/index.vue";
import operation from "./operation/index.vue";
import run from "./run/index.vue";
import alarm from "./alarm/index.vue";
import connent from "./connect/index.vue";
import { useI18n } from "vue-i18n";
import { ref } from "vue";

let { t } = useI18n();
let head = [
  { id: "alarm", text: t("loginfo.base.alarm"), component: alarm },
  { id: "operation", text: t("loginfo.base.operation"), component: operation },
  { id: "run", text: t("loginfo.base.run"), component: run },
  { id: "mes", text: t("loginfo.base.mes"), component: mes },
  { id: "connent", text: t("loginfo.base.connent"), component: connent },
];
let activeTab = ref("alarm");
</script>
<style lang="scss" scoped></style>
